import { Groove, Hole } from '@/types';
import { Basis } from '../constants';

export interface FormValue {
  plank: {
    size: {
      length: number;
      width: number;
      thickness: number;
    };
    basis: {
      x: Basis;
      y: Basis;
    };
    points: {
      x: number;
      y: number;
    }[];
    holes: Hole[];
    groupedGroove: Record<string, Groove[]>;
  };
}
export enum EditType {
  Plank,
  Hole,
  Groove,
}
export enum Axis {
  x = 'x',
  y = 'y',
  z = 'z',
}
